Skip to contentSkip to conversation

Dirt: Showdown broken graphics

Bug 98856 [email protected] 1 participant 14 messages Nov 25, 2016 – Mar 8, 2018

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=98856

Bug ID: 98856
Summary: Dirt: Showdown broken graphics
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

For about 4 weeks the game has polygon distortion especially on the Nevada map. Its not on every map but it can be seen with the ingame benchmark.

Im on:
Radeon HD 7970
OpenGL renderer string: Gallium 0.4 on AMD TAHITI (DRM 2.48.0 / 4.9.0-rc4-gbc33b0c, LLVM 4.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 13.1.0-devel (git-b27be18)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 98856] [Regression, SI] DIRT: Showdown broken graphics

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98856

Gregor Münch <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|Dirt: Showdown broken       |[Regression, SI] DIRT:
                   |graphics                    |Showdown broken graphics
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 98856] [Regression, SI] DIRT: Showdown broken graphics

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98856

--- Comment #2 from Gregor Münch <[email protected]> --- I tried getting this to work but I dont get any output file.

DEBUGGER="apitrace trace" steam steam://rungameid/201700 What am Im doing wrong here?

I installed:
apitrace
lib32-apitrace

If you want to do a regression testing,
this somewhat broke arround here:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=74e39de9324d2d2333cda6adca50ae2a3fc36de2

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 98856] [Regression, SI] DIRT: Showdown broken graphics

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98856

--- Comment #3 from Samuel Pitoiset <[email protected]> --- Does reverting that commit fix the issue?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 98856] [Regression, SI] DIRT: Showdown broken graphics

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98856

--- Comment #4 from Gregor Münch <[email protected]> --- I managed to get a trace. Hope it works for you.

https://drive.google.com/open?id=0B5KUmMDAwP-iUFNDdEpkd2xUMXc

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 98856] [Regression, SI] DIRT: Showdown broken graphics

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98856

--- Comment #5 from Gregor Münch <[email protected]> --- (In reply to Samuel Pitoiset from comment #3)

Quoted 1 line

Does reverting that commit fix the issue?

I can't test (I would do if someone could show me how). I do weekly Mesa builds and Im quite sure it broke in the week when this commit appeared.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 98856] [Regression, SI] DIRT: Showdown broken graphics

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98856

--- Comment #6 from Gregor Münch <[email protected]> --- Problem is still there as of mesa git from Friday. Also, the trying replaying my trace hangs the GPU.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 98856] [Regression, SI] DIRT: Showdown broken graphics

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98856

--- Comment #7 from Gregor Münch <[email protected]> ---
I finally was able to start bisecting this, I was going back to Mesa from early October but couldnt find the culprit. I used PKGBUILD provided from here:
https://aur.archlinux.org/packages/lib32-mesa-git/
Then I followed these instructions:
https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages
https://wiki.archlinux.org/index.php/Bisecting_bugs

I guess since the executable name of the game is dirt.i386 so bisecting the 32bit package is the right one?

Im a bit lost here, I will try older Kernel and libdrm but after that Im running out of ideas what could caused this, any other ideas would be appreciated.

BTW, judging from the screenshots in
https://bugs.freedesktop.org/show_bug.cgi?id=99136 it looks this is the same problem. Its interesting to see that enabling a minor heavy graphic option causes such crazy graphical corruption. He enables blood effects and in Dirt you have to set Crowd from OFF to LOW or higher. While ULTRA option makes the problem even worse.

Fun Fact: I tested Tomb Raider Benchmark, and the average FPS on went from 48fps with Mesa from October to 58fps with current Mesa git. So really good job on this!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 98856] DIRT: Showdown broken graphics with Mesa built with -Ofast

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98856

Gregor Münch <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|[Regression, SI] DIRT:      |DIRT: Showdown broken
                   |Showdown broken graphics    |graphics with Mesa built
                   |                            |with -Ofast
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 98856] DIRT: Showdown broken graphics with Mesa built with -Ofast

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98856

--- Comment #8 from Gregor Münch <[email protected]> --- Created attachment 130076
--> https://bugs.freedesktop.org/attachment.cgi?id=130076&action=edit
garbled graphics #1

Found the problem. Seems like using -Ofast wasnt a good idea. Using -03 everything works as it should.
Still attaching screenshot showing the problem in case it is useful to others.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw

[Bug 98856] DIRT: Showdown broken graphics with Mesa built with -Ofast

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98856

Vedran Miletić <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Blocks|                            |77449

Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=77449
[Bug 77449] Tracker bug for all bugs related to Steam titles

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw

[Bug 98856] DIRT: Showdown broken graphics with Mesa built with -Ofast

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98856

--- Comment #9 from Gregor Münch <[email protected]> --- Still the same with -Ofast.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#13 lore raw

[Bug 98856] DIRT: Showdown broken graphics with Mesa built with -Ofast

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98856

Timothy Arceri <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #10 from Timothy Arceri <[email protected]> --- Ofast disregards strict standards compliance. -Ofast enables all -O3 optimizations. It also enables optimizations that are not valid for all standard-compliant programs.

In other words don't use it with Mesa :)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel